package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * app版本对象 app_version
 * 
 * @author ruoyi
 * @date 2021-07-15
 */
public class AppVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** app版本表id */
    private Long id;

    /** app下载链接 */
    @Excel(name = "app下载链接")
    private String appUrl;

    /** app版本号 */
    @Excel(name = "app版本号")
    private String appVersion;

    /** 介绍 */
    @Excel(name = "介绍")
    private String introduce;

    /** 是否是最新版 0是 1否 */
    @Excel(name = "是否是最新版 0是 1否")
    private Integer type;

    /** 状态 0自然更新1 强制更新 */
    @Excel(name = "状态 0自然更新1 强制更新")
    private Integer state;

    /** app版本号创建人 */
    @Excel(name = "app版本号创建人")
    private String appSysUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAppUrl(String appUrl) 
    {
        this.appUrl = appUrl;
    }

    public String getAppUrl() 
    {
        return appUrl;
    }
    public void setAppVersion(String appVersion) 
    {
        this.appVersion = appVersion;
    }

    public String getAppVersion() 
    {
        return appVersion;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setAppSysUser(String appSysUser) 
    {
        this.appSysUser = appSysUser;
    }

    public String getAppSysUser() 
    {
        return appSysUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appUrl", getAppUrl())
            .append("appVersion", getAppVersion())
            .append("introduce", getIntroduce())
            .append("type", getType())
            .append("state", getState())
            .append("appSysUser", getAppSysUser())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
